
<!- body start !>
<div id="maininfodiv">
<div id="indext1"><span id="indextitle">最新新闻</span></div>
<div id="imgnew"><script type="text/javascript">
flash('{$flash.pic}','{$flash.links}','{$flash.text}');</script>
</div>
<div id="mainnew">{section name=n loop=$news_date}
<div id="news_item">
<div id="mainnew_title"><img
	src="./templates/gate/images/point_01.jpg"> <a
	href="new.php?id={$news_date[n].id}">{$news_date[n].title}</a></div>
<div id="mainnew_date">{$news_date[n].con|truncate:13}</div>
</div>
{/section}</div>
</div>
<div id="topinfodiv">
<div id="indext1"><span id="indextitle">公告</span></div>
<div id="notice">
<MARQUEE onmouseover=this.stop()
	onmouseout=this.start() scrollAmount=2 direction=up>
{$company.notice} <br>
</MARQUEE></div>
<br />
<li><script language=vbs>
document.write(formatdatetime(now,1))
</script></li>
</div>
<!--产品滚动代码开始-->

<script type="text/javascript" src="{$url}js/jquery-1.2.1.pack.js"></script>
<script type="text/javascript" src="{$url}js/jquery.jcarousel.pack.js"></script>
<link rel="stylesheet" type="text/css" href="{$url}css/jquery.jcarousel.css" />
<link rel="stylesheet" type="text/css" href="{$url}css/skin.css" />
{literal}
<script type="text/javascript">
function product_initCallback(carousel)
{

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        auto: 3,
        product_body: 'last',
        initCallback: product_initCallback
    });
});

</script>
{/literal}
<!--产品滚动代码结束-->
<div id="product_body">

   <ul id="mycarousel" class="jcarousel-skin-tango">
{section name=a loop=$products}
		<li>	<p id="pro_p">
				<a href="pro.php?id={$products[a].id}"
					target=_blank> <img height="100" alt="{$products[a].name}" src="{$products[a].con}"></a>
			<br/>
			{$products[a].name}
				</p></li>
				{/section}
				


</ul>
</div>

<div id="indexinfolist">
<div id="indext1"><span id="indextitle">业界新闻</span></div>
<div id="indu_news">
{section name=q loop=$news_date}
<li>
 <a href="new.php?id={$news_date[q].id}">
 {$news_date[q].title|truncate:25} </a>
</li>
{/section}



</div>
</div>
<div id="indexprolist">

<div id="indexprolisttitle"><span id="indextitle">最新产品</span></div>
<table>
	{section name=a loop=$pros}
	<tr>

		<td width="335" align="center"><a
			href="pro.php?id={$products[a].id}" target=_blank>
		{$pros[a].name}</a></td>
		<td width="90" align=left><a href="pro.php?id={$pros[a].id}"
			target=_blank> {$pros[a].con}</a></td>
	</tr>
	{/section}
</table>
</div>
<div id="indexsurvey">
<form method="post" action="vote.php?vote_id={$votes[0].topic}"
	target="blank">
<div id="indext1"><span id="indextitle">投票调查</span></div>
<span id="indexsurtxt">{$votes[0].topic}</span> <span id="indexsurbox">
{section name=v loop=$votes}
<li><input type="radio" name="se_id" value="{$votes[v].se_id}">{$votes[v].contant}</li>
{/section}</span> <span id="indexsursubmit"> <input name="Submit"
	type="submit" value="投票">
</span></form>
</div>

<! body end !>
